﻿using AutoTest.Framework;
using AutoTest.Framework.Module;

namespace AutoTest.Repository
{
    /// <summary>
    /// Api
    /// </summary>
    public class AutoTestApiModule : ProgrameModule
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="model"></param>
        public override void PreInit(BootParams model)
        {
            model.Services.AddSingleton<IHttpContextAccessor,HttpContextAccessor>();
        }
    }
}
